<template>
  <div>
    <elm-page-tb>
      <template #top>
        <el-input placeholder="请查询输入内容" size="mini" prefix-icon='el-icon-search' style="width:250px;" v-model="postData.name" clearable></el-input>
        <right>
          <el-button-group>
            <el-button icon="el-icon-search" size="mini" @click="tablebinding()">查询</el-button>
            <elm-open-button url="material_adjust_edit" title="新增"  width="900" height="50%">新增</elm-open-button>
          </el-button-group>
        </right>
      </template>
      <elm-table url="/business/wms/material_adjust/GetData" :post-data="postData" :page-size="10" height="100%">
        <el-table-column prop="material_name_mc" label="物资名称" align="center" header-align="center"></el-table-column>
        <el-table-column prop="material_category_mc" label="物资类别" align="center" header-align="center"></el-table-column>
        <el-table-column prop="specification" label="规格/型号" align="center" header-align="center" width="100"></el-table-column>
        <el-table-column prop="unit" label="单位" align="center" header-align="center"></el-table-column>
        <el-table-column prop="adjust_number" label="调整数量" align="right" header-align="center"></el-table-column>
        <el-table-column prop="adjust_res" label="调整原因" align="center" header-align="center"></el-table-column>
        <el-table-column prop="update_time" label="提交时间" align="center" header-align="center" :formatter="formatDateTime" width="160"></el-table-column>
        <el-table-column prop="update_role_mc" label="提交人" align="center" header-align="center" width="100"></el-table-column>
        <el-table-column prop="remarks" label="备注" align="center" header-align="center" width="300px"></el-table-column>
      </elm-table>
    </elm-page-tb>
  </div>

</template>

<script>
export default {
  extends: elmVueBase,
  data() {
    return {
      postData: { name: null}
    }
  },
  created() {
  },
  methods: {
  }
}
</script>
